html {
	position: relative;
	min-height: 100%;
}

body {
	margin-bottom: 66px;
}

.footer {
	position: absolute;
	bottom: 0;
	background-color: #1b1b1b;
	min-width: 100%;
	width: auto;
	color: #989;
	padding-top:15px;
	height: 66px;
}

.footer a {
	text-decoration:none; 
	cursor:pointer;
	color:#989;
}

pre {
	white-space: pre-wrap;
}

.medal-heading {
    font-size: 50px;
    margin: 0px;
}

.medal-text {
  margin: 0;
}

/* 导航条左右边距变短，默认15 */
.nav li a {
    padding-left: 10px;
	padding-right: 10px;
}

/*带链接的标题肯定不会需要下划线吧..*/
h2 a:hover , h3 a:hover {
	text-decoration:none; 
	cursor:pointer;
	color:black;
} 

h2 a , h3 a {
	color:#1b1b1b;
} 

/*剪切板按钮*/

.zero-clipboard{
	position:relative;
	display:none
}

.btn-clipboard{
	position:absolute;
	top:0;
	right:0;
	z-index:10;
	display:block;
	padding:5px 8px;
	font-size:12px;
	color:#767676;
	cursor:pointer;
	background-color:#fff;
	border:1px solid #e1e1e8;
	border-radius:0 4px 0 4px;
}

.btn-clipboard:hover{
	color:#fff;
	background-color:#563d7c;
	border-color:#563d7c
}

@media (min-width:768px){
	.zero-clipboard{
		display:block
	}

	.zero-clipboard .btn-clipboard{
		top:0px;
		border-top-right-radius:0
	}
}

/* 表格中的悬停tag(300px右) */
div.tr-tag {
	text-align: center;
	display: none;
	position: absolute;
	background-color: #ccc;
	line-height: 12px;
	min-height: 19px;
	min-width: 130px;
	max-width: 130px;
	z-index: 1000;
	padding: 7px 8px 3px 8px;
	font-size: 12px;
	margin-left: 300px;
	margin-top: -24px;
}

div.tr-tag:after{
	content: "";
	position: absolute;
	left:-6px;
	border-width: 6px 6px 6px 0;
	border-style: solid solid solid none;
	border-color: transparent #ccc transparent transparent;
}

tr:hover div.tr-tag{
	display: block;
}

div.tr-tag span{
	display: block;
	float:left;
	margin-right: 3px;
	margin-bottom: 3px;
	background-color: #eee;
	padding: 2px 3px;
	color:#08c;
}

/* 重载.progress */
.progress {
	background-color: #f7f7f7;
	background-image: -moz-linear-gradient(top, #cccccc, #dddddd);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#cccccc), to(#dddddd));
	background-image: -webkit-linear-gradient(top, #cccccc, #dddddd);
	background-image: -o-linear-gradient(top, #cccccc, #dddddd);
	background-image: linear-gradient(to bottom, #cccccc, #dddddd);
	height: 8px;
	margin: auto;
	/*width:150px;*/
	margin-top: 5px;
	margin-bottom: 3px;
}

.maxwidth150px {
	max-width:150px;
}

/* 重载.progress .bar*/
.progress .progress-bar {
	background-image: -moz-linear-gradient(top, #149bdf, #0480be);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
	background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
	background-image: -o-linear-gradient(top, #149bdf, #0480be);
	background-image: linear-gradient(to bottom, #149bdf, #0480be);
}

.card{
	position: relative;
	padding:15px 20px 45px;
	margin-bottom:15px;
	background:#fff;
	-webkit-border-radius:3px;
	border-radius:3px;
	-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.25);
	box-shadow:0 2px 4px rgba(0,0,0,0.25)
}

.card:hover{
	-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.45);
	box-shadow:0 2px 4px rgba(0,0,0,0.45);
	-moz-transition: box-shadow 0.5s;
	transition: box-shadow 0.5s;
}

.table > tbody > tr.winner > td, .table > tbody > tr.winner > th {
	/*算了...*/
}

.ellipsis {
	text-overflow:ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.avatar {
	padding: 0 20px 10px;
}

.ac { background: #e1ffb5; }
.firstac { background: #080; color: white !important; font-weight: bold; }
.fail { background: #ffdada; }
.pending { background: #c8d6fa; }
.bc-social {
	padding:15px 0;
	text-align:center;
	background-color:#f5f5f5;
	border-top:1px solid #fff;
	border-bottom:1px solid #ddd
}
.bc-social-buttons {
	margin-left:0;
	margin-bottom:0;
	padding-left:0;
	list-style:none
}
.bc-social-buttons li {
	display:inline-block;
	line-height:1;
	color:#555
}
.bc-social-buttons li .fa {
	font-size:18px;
	margin-right:3px
}
.bc-social-buttons li .fa-weibo {
	font-size:20px
}
.bc-social-buttons li a {
	color:#555
}
.bc-social-buttons li.social-qq:hover {
	color:#428bca
}
.bc-social-buttons li.social-weibo a:hover {
	color:#d9534f
}
.bc-social-buttons>li+li:before {
	padding:0 10px;
	color:#ccc;
	content:"|"
}
.bs-callout {
    padding: 20px;
    margin: 0 0 20px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
  margin-top: 0;
  margin-bottom: 5px;
}
.bs-callout p:last-child {
  margin-bottom: 0;
}
.bs-callout code {
  border-radius: 3px;
}
/* Variations */
.bs-callout-danger {
  border-left-color: #ce4844;
}
.bs-callout-danger h4 {
  color: #ce4844;
}
.bs-callout-warning {
  border-left-color: #aa6708;
}
.bs-callout-warning h4 {
  color: #aa6708;
}
.bs-callout-info {
  border-left-color: #1b809e;
}
.bs-callout-info h4 {
  color: #1b809e;
}